/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package doanlythuyet_javaoutlook.MyUserControl;

import java.util.ArrayList;

/**
 *
 * @author Administrator
 */
public class jClass_ChuDe {
    private static ArrayList<String> cacChuDe = new ArrayList<String>();

    /**
     * @return the cacChuDe
     */
    public static ArrayList<String> getCacChuDe() {
        return cacChuDe;
    }

    /**
     * @param aCacChuDe the cacChuDe to set
     */
    public static void setCacChuDe(ArrayList<String> aCacChuDe) {
        cacChuDe = aCacChuDe;
    }
    public jClass_ChuDe(){
        cacChuDe.add("Không có");
        cacChuDe.add("<html><head></head><body><b style='color:red'>Khẩn cấp<b><body>");
        cacChuDe.add("<html><head></head><body><b style='color:blue'>Chậm<b><body>");
        cacChuDe.add("<html><head></head><body><b style='color:green'>Xong<b><body>");
    }
    public static void Them (String ten){
        getCacChuDe().add(ten);
    }
    public static void Xoa (String ten){
        getCacChuDe().remove(ten);
    }
    public static int LaySTT (String ten){
        return  getCacChuDe().indexOf(ten);
    }
    public static String LayTen (int index){
        return getCacChuDe().get(index);
    }
}
